<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人介绍</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f9;
        }
        header {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 1em 0;
        }
        nav {
            display: flex;
            justify-content: center;
            background-color: #444;
        }
        nav a {
            color: white;
            padding: 14px 20px;
            text-decoration: none;
            text-align: center;
        }
        nav a:hover {
            background-color: #575757;
        }
        .container {
            padding: 20px;
            max-width: 800px;
            margin: auto;
            background-color: white;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            margin-top: 20px;
        }
        footer {
            text-align: center;
            padding: 1em 0;
            background-color: #333;
            color: white;
            position: fixed;
            width: 100%;
            bottom: 0;
        }
        img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
        }
        h1, h2 {
            color: #333;
        }
        p {
            line-height: 1.6;
        }
    </style>
</head>
<body>

<header>
    <h1>欢迎来到我的个人网站</h1>
</header>

<nav>
    <a href="#about">关于我</a>
    <a href="#skills">技能</a>
    <a href="#contact">联系我</a>
</nav>

<div class="container">
    <section id="about">
        <h2>关于我</h2>
        <img src="https://img.alicdn.com/tfs/TB1PnLJXyYrK1RjSszcXXbVpFXa-1200-1200.jpg" alt="Profile Picture">
        <p>你好！我是张三。</p>
    </section>

    <section id="skills">
        <h2>技能</h2>
        <ul>
            <li>HTML/CSS</li>
            <li>JavaScript</li>
            <li>React.js</li>
            <li>Node.js</li>
        </ul>
    </section>

    <section id="contact">
        <h2>联系我</h2>
        <form>
            <label for="name">姓名:</label><br>
            <input type="text" id="name" name="name"><br>
            <label for="email">电子邮件:</label><br>
            <input type="email" id="email" name="email"><br>
            <label for="message">消息:</label><br>
            <textarea id="message" name="message"></textarea><br>
            <button type="submit">发送</button>
        </form>
    </section>
</div>

<footer>
    <p>&copy; 2025 张三的所有权</p>
</footer>

</body>
</html>



